package com.dily.study.work.repository;

import com.dily.study.work.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * Date: 2022-08-08 星期一
 * Time: 16:51
 * Author: Dily_Su
 * Remark:
 */
@Repository
public interface UserRepository extends JpaRepository<User, Integer> {
    User findByName(String name);
}
